package com.kefu.admin.modules.tgqmdj.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by TWD on 2019/1/28.
 */
@Controller
@RequestMapping("/tgqmdj")
public class TgqmdjController {

    /*首页*/
    @RequestMapping(value={"/about"})
    public ModelAndView about(HttpServletRequest request, ModelMap mmap){
        ModelAndView mav = new ModelAndView("tgqmdj/about") ;
        mav.addObject("tgdqmdjtitle","") ;
        return  mav;
    }


    /*首页*/
    @RequestMapping(value={"/home"})
    public ModelAndView home(HttpServletRequest request, ModelMap mmap){
        ModelAndView mav = new ModelAndView("guanyuan/home") ;
        return  mav;
    }

    /*首页*/
    @RequestMapping(value={"/index2"})
    public ModelAndView index2(HttpServletRequest request, ModelMap mmap){
        ModelAndView mav = new ModelAndView("guanyuan/index2") ;
        return  mav;
    }


    /*首页*/
    @RequestMapping(value={"/pj"})
    public ModelAndView ppj(HttpServletRequest request, ModelMap mmap){
        ModelAndView mav = new ModelAndView("guanyuan/pj") ;
        mav.addObject("tgdqmdjtitle","五脉排品级") ;
        return  mav;
    }


}
